package bean;

import annotation.Id;
import annotation.Table;

@Table(name = "medecin")
public class Medecin extends RmiBean {
	
	@Id
	private Integer id;
	private String nom;
	private String prenom;
	private String login;
	private String password;

	public Medecin() {
		super();
		this.nom = null;
		this.prenom = null;
		this.login = null;
		this.password = null;
	}

	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public String getPrenom() {
		return prenom;
	}

	public void setPrenom(String prenom) {
		this.prenom = prenom;
	}

	public String getLogin() {
		return login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getId() {
		return id;
	}

	public String toString() {
		return "Medecin [id=" + id + ", nom=" + nom + ", prenom=" + prenom
				+ ", login=" + login + ", password=" + password + "]";
	}

}
